<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title></title>
</head>
<body>

</body>
</html>

<script>
	var score = prompt("请输入一个100内的分数值");
	score = parseInt(score);
	if (score>85) {
		if(score>=95 && score<=100){
			alert("成绩优秀，奖励1000");
		}else if(score>=90 && score<95){
			alert("成绩优秀，奖励800");
		}else{
			alert("成绩优秀，奖励300")
		}
	}else if(score>=75 && score<=85){
		alert("成绩良好")
	}else if(score>=60 && score<75){
		alert("成绩及格")
	}else{
		alert("成绩不及格")
	}
</script>